
import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

const store = new Vuex.Store({
    state: {
        point:{
            lng:"",
            lat:""
        }
    },
    mutations: {

        SAVE_POINT (state,point) {
           state.point = point;
           console.log('state:');
           console.log(point);
        }

    }
  })

  export default store;
